package com.botarena.client.contest.remote;

import java.util.List;

import com.botarena.shared.ContestInfo;
import com.botarena.shared.ContestState;
import com.botarena.shared.RankInfo;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface ContestAccessAsync {
	
	public void getContestState(String name, AsyncCallback<ContestState> callback);
	
	public void getAllContests(AsyncCallback<List<ContestInfo>> callback);
	
	public void getRanking(String key, int size, AsyncCallback<List<RankInfo>> callback);
	
	public void getRankPart(List<String> botKeys, AsyncCallback<List<RankInfo>> callback);
	
	public void getRankTop(String key, int size, AsyncCallback<List<RankInfo>> callback);
}
